﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Train_Railway.Home
{
    public partial class AutomaticBook : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            SetCaptchaText();
        }
        private void SetCaptchaText()
        {
            Random oRandom = new Random();
            int iNumber = oRandom.Next(100000, 999999);
            Session["Captcha"] = iNumber.ToString();
        }
    }
}